export default [
  {
    // 个人主页
    path: "/profile",
    name: "profile",
    component: () => import("@/views/profile/index.vue"),
    meta: {
      title: "Profile",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 编辑信息
    path: "/profile/updateInfo",
    name: "updateInfo",
    component: () => import("@/views/profile/info/index.vue"),
    meta: {
      title: "updateInfo",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 设置
    path: "/profile/settings",
    name: "settings",
    component: () => import("@/views/profile/settings/index.vue"),
    meta: {
      title: "settings",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 切换语言
    path: "/profile/settings/language",
    name: "language",
    component: () => import("@/views/profile/settings/language/index.vue"),
    meta: {
      title: "language",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 计价货币
    path: "/profile/settings/currency",
    name: "currency",
    component: () => import("@/views/profile/settings/currency/index.vue"),
    meta: {
      title: "currency",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 证书
    path: "/profile/settings/certificate",
    name: "certificate",
    component: () => import("@/views/profile/settings/certificate/index.vue"),
    meta: {
      title: "certificate",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 关于我们
    path: "/profile/settings/aboutus",
    name: "aboutus",
    component: () => import("@/views/profile/settings/aboutus/index.vue"),
    meta: {
      title: "aboutus",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 身份认证
    path: "/profile/auth",
    name: "auth",
    component: () => import("@/views/profile/auth/index.vue"),
    meta: {
      title: "auth",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 邀请返卷
    path: "/profile/invite",
    name: "invite",
    component: () => import("@/views/profile/invite/index.vue"),
    meta: {
      title: "Invite",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 邀请好友
    path: "/profile/invite/friends",
    name: "friends",
    component: () => import("@/views/profile/invite/friends/index.vue"),
    meta: {
      title: "friends",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 账户安全
    path: "/profile/security",
    name: "security",
    component: () => import("@/views/profile/security/index.vue"),
    meta: {
      title: "security",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 修改登录密码
    path: "/profile/security/updatePsw",
    name: "updatePsw",
    component: () => import("@/views/profile/security/updatePsw/index.vue"),
    meta: {
      title: "security",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 重置登陆密码
    path: "/profile/security/resetPsw",
    name: "resetPsw",
    component: () => import("@/views/profile/security/resetPsw/index.vue"),
    meta: {
      title: "resetPsw",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 设置交易密码
    path: "/profile/security/setDealPsw",
    name: "setDealPsw",
    component: () => import("@/views/profile/security/setDealPsw/index.vue"),
    meta: {
      title: "setDealPsw",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 更改邮箱
    path: "/profile/security/updateEmail",
    name: "updateEmail",
    component: () => import("@/views/profile/security/updateEmail/index.vue"),
    meta: {
      title: "updateEmail",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 谷歌验证器
    path: "/profile/security/googleAuth",
    name: "googleAuth",
    component: () => import("@/views/profile/security/googleAuth/index.vue"),
    meta: {
      title: "googleAuth",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 谷歌验证器
    path: "/profile/security/googleAuth/updateAuth",
    name: "updateAuth",
    component: () => import("@/views/profile/security/googleAuth/updateAuth/index.vue"),
    meta: {
      title: "updateAuth",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 帮助中心
    path: "/profile/help",
    name: "help",
    component: () => import("@/views/profile/help/index.vue"),
    meta: {
      title: "help",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 切换账号
    path: "/profile/account",
    name: "account",
    component: () => import("@/views/profile/account/index.vue"),
    meta: {
      title: "account",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 下载app
    path: "/profile/download",
    name: "download",
    component: () => import("@/views/profile/download/index.vue"),
    meta: {
      title: "download",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 通知
    path: "/profile/inform",
    name: "inform",
    component: () => import("@/views/profile/inform/index.vue"),
    meta: {
      title: "Inform",
      keepAlive: true,
      hideTabBar: false,
    },
  },
  {
    // 在线客服
    path: "/profile/service",
    name: "service",
    component: () => import("@/views/profile/service/index.vue"),
    meta: {
      title: "service",
      keepAlive: true,
      hideTabBar: false,
    },
  },
];
